NAME		= expertSystem
SRCS		= main.cpp	\
		aobject.cpp	\
		fact.cpp	\
		and.cpp		\
		or.cpp		\
		not.cpp		\
		xor.cpp		\
		equal.cpp	\
		parseur.cpp	\
		obj_manager.cpp	\


OBJS		= $(SRCS:.cpp=.o)

CXX		= g++
CXXFLAGS	= -W -Wall -Wextra -ansi -pedantic -I. -ggdb -g3
LDFLAGS		=

all: $(NAME)

$(NAME): $(OBJS)
		$(CXX) -o $(NAME) $(OBJS) $(LDFLAGS)

clean:
		rm -rf $(OBJS)

fclean: clean
		rm -rf $(NAME)

re: fclean all
